<?php 
use yii\helpers\Url;
 ?>
<style>
	caption{
		text-align: center;
		color: red;
		font-size:22px;
	}
table{
	width:500px;
}

tr > td:first-of-type
{
	width:20%;
	padding: 5px;
	/*text-align: center;*/
}

tr>td:last-of-type{
	padding-left: 10px;
}

.bt{
	padding:10px;
	width:500px;
	margin:0 auto;
	text-align: right;
}

</style>

<table  border='1px'  align='center'>
	<caption align="center" >详细信息</caption>
	<tr>
		<td>编号</td>
		<td><?php echo $result['id']?></td>		
	</tr>

	<tr>
		<td>图片名称</td>
		<td><?php echo $result['imgurl']?></td>		
	</tr>
	<tr>
		<td>状态</td>
		<td><?php echo $result['status']?></td>		
	</tr>
	<tr>
		<td>标签</td>
		<td><?php echo $result['flag']?></td>		
	</tr>
</table>
<div  class='button bt'>
		<a class='btn btn-success' href="<?php echo Url::to(['sqlcombat/index']) ?>"> 返回 </a>
		<a class='btn btn-success' href="<?php echo Url::to(['sqlcombat/update','id'=>$result['id']]) ?>">更新</a>

</div>


